<template>
  <Person a="haha" :list="personList"/>
</template>

<script lang="ts" setup name="App">
  import Person from './components/Person.vue'
  import { ref } from 'vue'
  import { type Persons } from './types/index'
  let personList =ref<Persons>( [
    {id:'1',name:'张三',age:18},
    {id:'2',name:'陈守宝',age:18},
    {id:'3',name:'陈财',age:18}
  ])
  console.log(personList.value)
</script>
